Propagation of ESCL Cardinality Constraints with Respect to CEP Queries

نویسندگان

  • Thanh Son Dang
  • Olga Poppe
چکیده

Semantic optimization of database queries, i.e. the use of metadata (constraints) for query optimization, is well investigated and has led to signi cant performance gains. The algorithm semantically rewriting database queries presented in [2] is applicable to CEP queries with some adaptions. One of these adaptions concerns the treatment of views and the constraints for them. To reduce the number of constraints which must be manually speci ed by the user, the algorithm semantically rewriting database queries presented in [2] leads views back to their respective base relations so that constraints have to be de ned for base relations only. However, if a CEP engine involves automatic garbage collection [1] of events and states, the relations saving these events and states may become incomplete in the meantime such that CEP views cannot be led back to them without lost of tuples in some cases. Therefore, an approach opposite to the one in [2] is introduced in this work: ESCL [5] cardinality constraints are automatically propagated from base events (states) to the derived events (states) with respect to the queries deriving them, i.e. only the ESCL cardinality constraints for base events and states must be manually speci ed by the user. The propagation of the other kinds of ESCL constraints is to be investigated. The approach presented in this report is independent from an event query language. To illustrate it, CEP queries are expressed in StreamLog [5], a rst order logic language extended with temporal aspects as required for CEP.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient CNF Encoding of Boolean Cardinality Constraints

In this paper, we address the encoding into CNF clauses of Boolean cardinality constraints that arise in many practical applications. The proposed encoding is efficient with respect to unit propagation, which is implemented in almost all complete CNF satisfiability solvers. We prove the practical efficiency of this encoding on some problems arising in discrete tomography that involve many cardi...

متن کامل

ارائه روشی پویا جهت پاسخ به پرس‌وجوهای پیوسته تجمّعی اقتضایی

Data Streams are infinite, fast, time-stamp data elements which are received explosively. Generally, these elements need to be processed in an online, real-time way. So, algorithms to process data streams and answer queries on these streams are mostly one-pass. The execution of such algorithms has some challenges such as memory limitation, scheduling, and accuracy of answers. They will be more ...

متن کامل

Query-oriented Relaxation for Cardinality Assurance

Although a large number of queries used in applications ranging from web search to business intelligence have associated cardinality constraints, current database engines have minimal support for ensuring query cardinality. This leads to two main types of problems: the empty result-set problems and the too few/too many problems. Inability to meet query cardinality constraints requires the user ...

متن کامل

Detecting Cardinality Constraints in CNF

We present novel approaches to detect cardinality constraints expressed in CNF. The first approach is based on a syntactic analysis of specific data structures used in SAT solvers to represent binary and ternary clauses, whereas the second approach is based on a semantic analysis by unit propagation. The syntactic approach computes an approximation of the cardinality constraints AtMost-1 and At...

متن کامل

Proceedings of the International Workshop on Logic in Databases ( LID 2009 )

We address the problem of answering conjunctive queries (CQs) over extended Entity-Relationship schemata, which we call EER (Extended ER) schemata, with is-a among entities and relationships, and cardinality constraints. This is a common setting in conceptual data modelling, where reasoning over incomplete data with respect to a knowledge base is required. We adopt a semantics for EER schemata ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011